﻿using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace zhwy.saas.api.Entity.Sys
{
    /// <summary>
    /// 租户信息表（物业公司）
    ///</summary>
    [SugarTable("tenants")]
    public class TenantsEntity : BaseEntity
    {
        /// <summary>
        /// 备  注:
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// 备  注:租户编码
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "tenant_code")]
        public string Tenant_code { get; set; } = null!;

        /// <summary>
        /// 备  注:物业公司名称
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "name")]
        public string Name { get; set; } = null!;

        /// <summary>
        /// 备  注:统一社会信用代码
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "usci")]
        public string Usci { get; set; } = null!;

        /// <summary>
        /// 备  注:营业执照图片
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "businesslicense_img")]
        public string? Businesslicense_img { get; set; }

        /// <summary>
        /// 备  注:法人姓名
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "legalperson")]
        public string? Legalperson { get; set; }

        /// <summary>
        /// 备  注:联系电话，座机等
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "telephone")]
        public string? Telephone { get; set; }

        /// <summary>
        /// 备  注:状态（0启用，1禁用，9删除）
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName = "status")]
        public int Status { get; set; }




    }

}